package com.caigou.mapper.cms;

import com.caigou.bean.cms.entity.DepartmentDictionary;

import java.util.List;

public interface DepartmentDictionaryMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(DepartmentDictionary record);

    int insertSelective(DepartmentDictionary record);

    DepartmentDictionary selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(DepartmentDictionary record);

    int updateByPrimaryKey(DepartmentDictionary record);

    List<DepartmentDictionary> findDepartments();

    DepartmentDictionary findDepartmentByDepartmentCode(String departmentCode);

}
